<!DOCTYPE html>
<html xmlns:th="https://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css"
          href="/css/bootstrap.css" th:href="@{/css/bootstrap.css}" />
    <link rel="stylesheet" type="text/css" href="/css/back-index.css"  th:href="@{/css/back-index.css}"/>
    <link rel="stylesheet" href="/layui/css/layui.css" th:href="@{/layui/css/layui.css}" media="all">
    <script src="/js/jquery.js" type="text/javascript" charset="utf-8"></script>
    <script src="/js/bootstrap.js" type="text/javascript"
            charset="utf-8"></script>
    <script src="/js/bootstrap-paginator.js"></script>
    <script src="/js/bootstrap-mypaginator.js"></script>
    <script src="/layui/layui.js"></script>
</head>
<body>
<table class="table table-bordered table-hover"
	   style='text-align: center;'>
<thead>
<tr  class="text-danger">
	<th class="text-center">编号</th>
	<th class="text-center">登录名</th>
	<th class="text-center">角色</th>
	<th class="text-center">昵称</th>
	<th class="text-center">邮箱</th>
	<th class="text-center">创建日期</th>
	<th class="text-center">最近登录日期</th>
	<th class="text-center">操作</th>
</tr>
</thead>
<tbody>
<tr th:each="user:${searchUsers}">
	<td th:text="${user?.id}"></td>
	<td th:text="${user?.loginName}"></td>
	<td th:text="${user?.role}"></td>
	<td th:text="${user?.nickname}"></td>
	<td th:text="${user?.email}"></td>
	<td th:text="${user?.createDate}"></td>
	<td th:text="${user?.signDate}"></td>
	<td class="text-center">
		<input type="button"
			   class="btn btn-warning btn-sm doModify" value="修改" />
		<input
				type="button" class="btn btn-danger btn-sm"
				th:value="${user?.status}==-1?'禁用':'启用'" />
	</td>
</tr>
</tbody>
</table>
</body>
</html>